package com.scau.hwadee.examination.mapper;

import com.scau.hwadee.examination.entity.Nationwidecourse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *@author YHX
 *@date 2019/7/29  9:02
 *@description
 */
public interface NationwidecourseMapper {
    int deleteListByPrimaryKey(@Param("list") List<Nationwidecourse> nationwidecourses);

    int insert(Nationwidecourse record);

    int insertNationalCourseListByExcel(@Param("list")List<Nationwidecourse> nationwidecourses);

    int insertSelective(Nationwidecourse record);

    Nationwidecourse selectByPrimaryKey(String ncId);

    int updateByPrimaryKeySelective(Nationwidecourse record);

    int updateByPrimaryKey(Nationwidecourse record);

    List<Nationwidecourse> selectAllNationalCourse(@Param("pageNum") int pageNum,
                                                   @Param("pageSize") int pageSize);
}